package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 章节对象 t_chapter
 * 
 * @author ruoyi
 * @date 2024-12-01
 */
public class TChapter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 题库ID */
    @Excel(name = "题库ID")
    private Long bId;

    /** 章节名 */
    @Excel(name = "章节名")
    private String name;

    /** 单选题数量 */
    @Excel(name = "单选题数量")
    private Long radioNum;

    /** 多选题数量 */
    @Excel(name = "多选题数量")
    private Long checkNum;

    /** 判断题数量 */
    @Excel(name = "判断题数量")
    private Long judgmentNum;

    /** 填空题数量 */
    @Excel(name = "填空题数量")
    private Long blankNum;

    /** 排序 */
    @Excel(name = "排序")
    private Long order;

    /** 简答题数量 */
    @Excel(name = "简答题数量")
    private Long shortAnswerNum;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setbId(Long bId) 
    {
        this.bId = bId;
    }

    public Long getbId() 
    {
        return bId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRadioNum(Long radioNum) 
    {
        this.radioNum = radioNum;
    }

    public Long getRadioNum() 
    {
        return radioNum;
    }
    public void setCheckNum(Long checkNum) 
    {
        this.checkNum = checkNum;
    }

    public Long getCheckNum() 
    {
        return checkNum;
    }
    public void setJudgmentNum(Long judgmentNum) 
    {
        this.judgmentNum = judgmentNum;
    }

    public Long getJudgmentNum() 
    {
        return judgmentNum;
    }
    public void setBlankNum(Long blankNum) 
    {
        this.blankNum = blankNum;
    }

    public Long getBlankNum() 
    {
        return blankNum;
    }
    public void setOrder(Long order) 
    {
        this.order = order;
    }

    public Long getOrder() 
    {
        return order;
    }
    public void setShortAnswerNum(Long shortAnswerNum) 
    {
        this.shortAnswerNum = shortAnswerNum;
    }

    public Long getShortAnswerNum() 
    {
        return shortAnswerNum;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bId", getbId())
            .append("name", getName())
            .append("radioNum", getRadioNum())
            .append("checkNum", getCheckNum())
            .append("judgmentNum", getJudgmentNum())
            .append("blankNum", getBlankNum())
            .append("order", getOrder())
            .append("shortAnswerNum", getShortAnswerNum())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("isDelete", getIsDelete())
            .append("remark", getRemark())
            .toString();
    }
}
